package cn.ava.ymcc.dto;

import cn.ava.ymcc.domain.CourseType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseTypeCrumbsDto {
    //当前分类
    private CourseType ownerProductType;
    //当前分类的同级分类列表
    private List<CourseType> otherProductTypes;

    public CourseTypeCrumbsDto(CourseType ownerProductType) {
        this.ownerProductType = ownerProductType;
    }
}